﻿namespace Stopwatch.Views
{
    using Microsoft.Phone.Controls;
    using System;
    using System.Windows;

    public partial class Infomation : PhoneApplicationPage
    {
        public Infomation()
        {
            InitializeComponent();
        }

        private void BackOnClick(object sender, EventArgs e)
        {
            NavigationService.GoBack();
        }

        private void SettingsOnClick(object sender, EventArgs e)
        {
            NavigationService.Navigate(new Uri("/Views/SettingsPage.xaml", UriKind.Relative));
        }

        private void RateOnClick(object sender, RoutedEventArgs e)
        {
            Microsoft.Phone.Tasks.MarketplaceReviewTask task = new Microsoft.Phone.Tasks.MarketplaceReviewTask();
            task.Show();
        }
    }
}